package com.extension.company.model.entity;

import com.google.gson.annotations.SerializedName;

/**
 * 作者:zwk
 * 联系方式：497981239@qq.com
 * 时间：on 2019/7/29 15:53
 * 功能：提交工单给后台，返回的支付的信息
 */
public class PayForInfor {

	/**
	 * code : 200
	 * msg : 返回成功
	 * time : 1565058942
	 * data : {"appid":"wx0ee56f81295b58ca","return_code":{"0":"SUCCESS"},"return_msg":{"0":"OK"},"mch_id":"1505629401","nonce_str":{"0":"0SmqStrbfKBtvmg9"},"sign":{"0":"300543FAA63FC001A8DB5462A9D59227"},"result_code":{"0":"SUCCESS"},"prepay_id":{"0":"wx06103542309161b1ec992c5c1243379100"},"trade_type":{"0":"APP"},"out_trade_no":"2019080610149545"}
	 */

	private int code;
	private String msg;
	private String time;
	private DataBean data;

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public DataBean getData() {
		return data;
	}

	public void setData(DataBean data) {
		this.data = data;
	}

	public static class DataBean {
		/**
		 * appid : wx0ee56f81295b58ca
		 * return_code : {"0":"SUCCESS"}
		 * return_msg : {"0":"OK"}
		 * mch_id : 1505629401
		 * nonce_str : {"0":"0SmqStrbfKBtvmg9"}
		 * sign : {"0":"300543FAA63FC001A8DB5462A9D59227"}
		 * result_code : {"0":"SUCCESS"}
		 * prepay_id : {"0":"wx06103542309161b1ec992c5c1243379100"}
		 * trade_type : {"0":"APP"}
		 * out_trade_no : 2019080610149545
		 */

		private String appid;
		private ReturnCodeBean return_code;
		private ReturnMsgBean return_msg;
		private String mch_id;
		private NonceStrBean nonce_str;
		private SignBean sign;
		private ResultCodeBean result_code;
		private PrepayIdBean prepay_id;
		private TradeTypeBean trade_type;
		private String out_trade_no;

		public String getAppid() {
			return appid;
		}

		public void setAppid(String appid) {
			this.appid = appid;
		}

		public ReturnCodeBean getReturn_code() {
			return return_code;
		}

		public void setReturn_code(ReturnCodeBean return_code) {
			this.return_code = return_code;
		}

		public ReturnMsgBean getReturn_msg() {
			return return_msg;
		}

		public void setReturn_msg(ReturnMsgBean return_msg) {
			this.return_msg = return_msg;
		}

		public String getMch_id() {
			return mch_id;
		}

		public void setMch_id(String mch_id) {
			this.mch_id = mch_id;
		}

		public NonceStrBean getNonce_str() {
			return nonce_str;
		}

		public void setNonce_str(NonceStrBean nonce_str) {
			this.nonce_str = nonce_str;
		}

		public SignBean getSign() {
			return sign;
		}

		public void setSign(SignBean sign) {
			this.sign = sign;
		}

		public ResultCodeBean getResult_code() {
			return result_code;
		}

		public void setResult_code(ResultCodeBean result_code) {
			this.result_code = result_code;
		}

		public PrepayIdBean getPrepay_id() {
			return prepay_id;
		}

		public void setPrepay_id(PrepayIdBean prepay_id) {
			this.prepay_id = prepay_id;
		}

		public TradeTypeBean getTrade_type() {
			return trade_type;
		}

		public void setTrade_type(TradeTypeBean trade_type) {
			this.trade_type = trade_type;
		}

		public String getOut_trade_no() {
			return out_trade_no;
		}

		public void setOut_trade_no(String out_trade_no) {
			this.out_trade_no = out_trade_no;
		}

		public static class ReturnCodeBean {
			/**
			 * 0 : SUCCESS
			 */

			@SerializedName("0")
			private String _$0;

			public String get_$0() {
				return _$0;
			}

			public void set_$0(String _$0) {
				this._$0 = _$0;
			}
		}

		public static class ReturnMsgBean {
			/**
			 * 0 : OK
			 */

			@SerializedName("0")
			private String _$0;

			public String get_$0() {
				return _$0;
			}

			public void set_$0(String _$0) {
				this._$0 = _$0;
			}
		}

		public static class NonceStrBean {
			/**
			 * 0 : 0SmqStrbfKBtvmg9
			 */

			@SerializedName("0")
			private String _$0;

			public String get_$0() {
				return _$0;
			}

			public void set_$0(String _$0) {
				this._$0 = _$0;
			}
		}

		public static class SignBean {
			/**
			 * 0 : 300543FAA63FC001A8DB5462A9D59227
			 */

			@SerializedName("0")
			private String _$0;

			public String get_$0() {
				return _$0;
			}

			public void set_$0(String _$0) {
				this._$0 = _$0;
			}
		}

		public static class ResultCodeBean {
			/**
			 * 0 : SUCCESS
			 */

			@SerializedName("0")
			private String _$0;

			public String get_$0() {
				return _$0;
			}

			public void set_$0(String _$0) {
				this._$0 = _$0;
			}
		}

		public static class PrepayIdBean {
			/**
			 * 0 : wx06103542309161b1ec992c5c1243379100
			 */

			@SerializedName("0")
			private String _$0;

			public String get_$0() {
				return _$0;
			}

			public void set_$0(String _$0) {
				this._$0 = _$0;
			}
		}

		public static class TradeTypeBean {
			/**
			 * 0 : APP
			 */

			@SerializedName("0")
			private String _$0;

			public String get_$0() {
				return _$0;
			}

			public void set_$0(String _$0) {
				this._$0 = _$0;
			}
		}
	}
}
